<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		
		<link rel="stylesheet" href="../font/iconfont.css" />
		<link rel="stylesheet" href="../css/shop_car.css" />
		<link rel="stylesheet" href="../css/common.css" />
	</head>
	<body>
		<div class="head_box">
			<div class="head">
				<div class="head-left">
					<ul class="head-left-u">
						<li><a href="../index.html" class="yt-shou"><span><img class="hahaha" src="../images/images/shou_03.png"/></span>银泰首页</a>
						</li><li class="shu"></li>
						<li><a href="#" class="weixin"><span class="iconfont">&#xe60a</span>&nbsp;微信</a>
							<div class="yt_weixin">
								<img src="../images/wechat.png" />
							</div>
						</li><li class="shu"></li>
						<li> <a href="#" class="phone"><span class="iconfont">&#x3433;</span>&nbsp;手机银泰</a>
							<div class="yt_phone">
								<img src="../images/appphone.png" />
							</div>
						</li>
					</ul>
				</div><!--head-left结束-->
				<div class="head-right">
					<ul class="head-right-u">
						<li>Hi!欢迎来到银泰网</li>
						<li><a href="html/login.html">登录</a></li>
						<li><a href="html/login.html">注册</a></li>
						<li><a href="#">我的订单</a></li>
						<li><a href="#">我的银泰&nbsp;<i class="iconfont">&#xe655;</i></a>
							<ol class="my_yt">
								<li><a href="#">我的收藏</a></li>
								<li><a href="#">我的银元</a></li>
								<li><a href="#">我的余额</a></li>
								<li><a href="#">我的银泰卡</a></li>
								<li><a href="#">我的优惠券</a></li>
								<li><a href="#">我的积分</a></li>
							</ol>
						</li>
						<li><a href="#">银泰卡</a></li>
						<li><a href="#">帮助中心</a></li>
					</ul>
				</div><!--head-right结束-->
				
			</div>
			
		</div><!--head_box结束-->
		
		
		<div class="buycar">
			<div class="gouwudai_box">
				<div class="gouwudai"></div>
				<div class="jindu">
					<ul class="look_gouwudai">
						<li>查看购物袋</li>
						<li>填写订单信息</li>
						<li>订单确认</li>
					</ul>
					<i></i>
					<ul class="look_gouwudai">
						<li>STEP 1</li>
						<li class="er">STEP 2</li>
						<li class="san">STEP 3</li>
					</ul>
				</div>
			</div>
			<div class="letsgo_goshping_box">
				<!--没有物品时显示继续购物-->
				<div class="letsgoshoping">
					<div class="daizi"></div>
					<div class="nosomthing">
						<p>您的购物袋尚未添加商品</p>
						<p>请尽情选购您要购买的产品吧! 祝您购物愉快!</p>
						<a href="list_shop.html"><input type="button" value="继续购物" /></a>
					</div>
				</div>
				<!--没有物品时显示继续购物-->
				
				
				<!--复制-->
				<div style="position: absolute;" class="biaoge">
						<table width="990px" border="0" cellpadding="0" cellspacing="0">
							<thead>
								<tr>
									<td>编号</td>
									<td>图片</td>
									<td>标题</td>
									<td>单价</td>
									<td>数量</td>
									<td>总价</td>
									<td>操作</td>
								</tr>
							</thead>
							<tbody id="tbody1">
								<!--<tr>
									<td><input type="checkbox"/></td>
									<td class="td2"><img src=""/></td>
									<td></td>
									<td></td>
									<td class="td5"><input type="button" value="-"><input type="text" value=""/><input type="button" value="+"/></td>
									<td></td>
									<td class="td7"><input type="button" value="删除"/></td>
								</tr>-->
							</tbody>
						</table>
					<label><input type="checkbox" id="cb1" /> 全选</label>
					<input type="button" value="一键删除" id="btn" />
					<div class="jiesuan">
						<div class="zongjia">总价：￥<span class="zongjiayuan">0</span></div>
						<input class="qingdan" type="button" value="结算" />
					</div>
					
				</div>
				<!--复制-->
				
				
				
				
				
				
				
			</div>
			
		</div>
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		<!--尾巴-->		
		<div class="footer">
			<div class="foot_top02">
				<ul>
					<li><a href="#">关于银泰</a></li>
					<li><a href="#">帮助中心</a></li>
					<li><a href="#">退货政策</a></li>
					<li><a href="#">网站地图</a></li>
					<li><a href="#">代理合作</a></li>
					<li><a href="#">品牌招商</a></li>
					<li><a href="#">商务合作</a></li>
					<li><a href="#">网站联盟</a></li>
					<li><a href="#">联系我们</a></li>
					<li><a href="#">加入银泰</a></li>
					<li><a href="#">版权声明</a></li>
					<li><a href="#" style="border-right:none">法律声明</a></li>					
				</ul>
			</div>
			<div class="foot_top03">
				<p>浙ICP备10200233号 &nbsp; 京公网备110105019085 &nbsp; 增值电信业务经营许可证：浙B2-20110005</p>
				<p>Yintai &nbsp; @2015,银泰电子商务有限公司</p>
			</div>
			<div class="foot_top04">
				<a href="#"><img src="../images/images/sa_03.png"/></a>
				<a href="#"><img src="../images/images/sa_05.png"/></a>
				<a href="#"><img src="../images/images/sa_08.png"/></a>
			</div>
		</div>
	</body>
</html>
<script type="text/javascript" src="../js/jquery-1.11.3.js" ></script>
<script type="text/javascript" src="../js/jquery.cookie.js" ></script>
<script type="text/javascript" src="../js/index.js" ></script>
<script type="text/javascript" src="../js/cookie.js" ></script>
<script type="text/javascript" src="../js/lib/shop_car.js" ></script>

<script>
	
	btn.onclick = function(){
	if( confirm("您确定删除所选商品吗？") ){
		var arr = document.querySelectorAll("tbody input[type='checkbox']");
		for( var i=0,l=arr.length; i<l; i++ ){
			//console.log(i)
			if(arr[i].checked){
				var id = arr[i]
				var p=id.parentNode.parentNode;
				// 删除当前行
				tbody1.removeChild(p);
				
			}
		}
	}
}

	

</script>